//
//  NoDataView.h
//  CBT
//
//  Created by Mr.Zhang on 2018/12/5.
//  Copyright © 2018 Mr.Zhang. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum _ShowType {
    ShowType_NoData  = 0,
    ShowType_NoNetWork,
} ShowType;

NS_ASSUME_NONNULL_BEGIN

@interface NoDataView : UIView

-(instancetype)initWithFrame:(CGRect)frame type:(ShowType)type clickBlock:(void(^)(void))block;

@property (nonatomic, assign) ShowType showType;

@property (nonatomic, strong) UIImageView *imageView;

-(void)changeShowImage;

@end

NS_ASSUME_NONNULL_END
